Commit
39727d1156 refactored dbus acquisition, but due to wrong use
of va_args we would only ever acquire the first bus name passed.
https://bugzilla.gnome.org/show_bug.cgi?id=658078
shell_dbus_acquire_names (DBusGProxy *bus,
guint32 request_name_flags,
gchar *name,
- gboolean fatal,
- gchar *other, ...) G_GNUC_NULL_TERMINATED;
+ gboolean fatal, ...) G_GNUC_NULL_TERMINATED;
static void
shell_dbus_acquire_names (DBusGProxy *bus,
guint32 request_name_flags,
gchar *name,
- gboolean fatal,
- gchar *other, ...)
+ gboolean fatal, ...)
{
va_list al;
guint32 request_name_result;
- va_start (al, other);
+ va_start (al, fatal);
for (;;)
{
shell_dbus_acquire_name (bus,